package com.clw.classfile.constantpool.info;

/**
 * Created by chengliwei on 2018/11/12.
 */
public class ConstantNameAndType implements ConstantInfo {

    public static final byte TAG = 12; // value = 12
    private short methodNameIndex; // 指向该字段或方法名称常量项的索引
    private short methodDescriptorIndex; // 指向该字段或方法描述符常量项的索引

    public ConstantNameAndType(short methodNameIndex, short methodDescriptorIndex) {
        this.methodNameIndex = methodNameIndex;
        this.methodDescriptorIndex = methodDescriptorIndex;
    }
}
